package com.company.calendar.dto;

import lombok.Data;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;

import java.util.List;

/**
 * 工作日配置DTO
 * 
 * @author System
 * @since 1.0.0
 */
@Data
public class WorkdayConfigDTO {
    
    private Long id;
    
    @NotNull(message = "公司ID不能为空")
    private Long companyId;
    
    @NotBlank(message = "配置名称不能为空")
    @Size(max = 100, message = "配置名称长度不能超过100个字符")
    private String configName;
    
    private String description;
    
    private Boolean isDefault = false;
    
    private List<WorkdayRuleDTO> rules;
}


